Release 10.1A: OpenEdge Development:
Progress Dynamics Managers API Reference


fieldandtokenSecurityCheck

This procedure does both a field and token security check for the specified object simultaneously, retrieving the information in one AppServer hit.

Location: af\app\afsecmngrp.i

Parameters:

INPUT pcObjectName AS CHARACTER

The current program object for security check.

INPUT pcAttributeCode AS CHARACTER

The current instance attribute posted to program.

INPUT plCheckFieldSecurity AS LOGICAL

Whether or not to extract field security.

INPUT plCheckTokenSecurity AS LOGICAL

Whether or not to extract token security.

OUTPUT pcFieldSecurity AS CHARACTER

A comma-delimited list of secured fields. Each field is described by two entries in the list. The first entry is the field name qualified with the table name. The second entry is either "hidden" or "read-only", depending on the security for the particular field.

OUTPUT pcTokenSecurity AS CHARACTER

A comma-delimited list of security tokens. The tokens represent objects, such as toolbar buttons and folder pages, for which the user does not have proper security clearance.

Notes: None

Examples: See the widgetWalk procedure in af\app\afsesmngrp.i.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095